Component org.nuxeo.ecm.core.opencmis.json.config
In bundle org.nuxeo.ecm.core.opencmis.bindings
Contributions
- org.nuxeo.ecm.core.opencmis.json.config--authenticators
- org.nuxeo.ecm.core.opencmis.json.config--filterConfig
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.opencmis.json.config">
<!-- the /json/cmis part is defined in the servlet mapping in deployment-fragment.xml -->
<extension
target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
point="filterConfig">
<filterConfig name="cmis-json" transactional="true">
<pattern>${org.nuxeo.ecm.contextPath}/json/cmis(/.*)?</pattern>
</filterConfig>
</extension>
<!-- make sure no redirect for authentication happens -->
<extension
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
point="authenticators">
<authenticationPlugin name="BASIC_AUTH"
enabled="true"
class="org.nuxeo.ecm.platform.ui.web.auth.plugins.BasicAuthenticator">
<parameters>
<parameter name="ForcePromptURL_CMISJSON">json/cmis</parameter>
</parameters>
</authenticationPlugin>
</extension>
</component>